package fr.axones.pocketagile.vo
{
	[Bindable]
	[RemoteClass]
	public class ProjectUserVO
	{
		public var email:String;
		
		public var userId:Number;
		public var projectId:Number;
		public var profile:String;
		
		public function ProjectUserVO()
		{
		}
		
		public static function build(s:String):ProjectUserVO
		{
			var o:Object = JSON.stringify(s);
			
			return build_(o);
		}
		
		private static function build_(o:Object):ProjectUserVO
		{
			var pu:ProjectUserVO = new ProjectUserVO();
			
			for (var propertyName:String in o)
			{
				pu[propertyName] = o[propertyName];
			}
			
			return pu;
		}
	}
}